#pragma once

class CMachiningHole
{
public:
	CMachiningHole(CString& strLine);
    CMachiningHole(double dx, double dy, double dz, double da, double dfb, double dbb, double dtype, double didx);
	~CMachiningHole(void);

public:
	double X() const { return x; }
	void X(double val) { x = val; }

	double Y() const { return y; }
	void Y(double val) { y = val; }

	double Z() const { return z; }
	void Z(double val) { z = val; }

	double A() const { return a; }
	void A(double val) { a = val; }

	double ForwordB() const { return forwordB; }
	void ForwordB(double val) { forwordB = val; }

	double BackwardB() const { return backwardB; }
	void BackwardB(double val) { backwardB = val; }

	double Type() const { return type; }
	void Type(double val) { type = val; }

	double Index() const { return index; }
	void Index(double val) { index = val; }
private:
	double x;
	double y;
	double z;
	double a;
	double forwordB;
	double backwardB;
	double type;
	double index;
};
